package main

import (
	"fmt"
)

func chvalue(a int){
	a++
}



func chpointor(a *int){
   *a++
}

func main(){
	a:=1
    chvalue(a)
	fmt.Println(a)

	chpointor(&a)
	fmt.Println(a)

}